﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tencent.OA.App
{
    /// <summary>
    /// <para> 定义一个在实现类中执行任务调度的接口。</para>
    /// </summary>
    public interface IScheduleService
    {
        void Execute();
    }

    /*public abstract class BaseScheduleService : IScheduleService
    {
        /// <summary>
        /// <para> 在执行调度任务时发生。</para>
        /// </summary>
        public event EventHandler ScheduleExecuting;

        public virtual void Execute()
        {
        }

        #region IScheduleService 成员

        void IScheduleService.Execute()
        {
            this.Execute();
        }

        #endregion
    }*/

}
